package com.sqj;

public class SendNewMsg implements ISendNewMsg{
    private ISendMsg sendMsg;

    public SendNewMsg(ISendMsg sendMsg){
        this.sendMsg=sendMsg;
    }

    @Override
    public void sendMsg() {
        System.out.println("新发送消息准备开始：");
        sendMsg.sendMsg();
    }

    @Override
    public void sendNewMsg() {
        System.out.println("发送微信消息");
        this.sendMsg();
    }
}
